


import requests
def test_get():
    url = "https://httpbin.ceshiren.com/get"
    headers = {'user-agent':'my-app/0.0.1'}
    r = requests.get(url,headers=headers)
    print(r.headers)
    #打印响应头信息，返回响应头信息
test_get()